﻿using System;

namespace Grundy.Licensing.Server
{
    public class InvalidLicenseFormatException : Exception
    {
        public string License { get; private set; }

        public InvalidLicenseFormatException(string license, Exception innerException) : base(license, innerException)
        {
            License = license;
        }

        public override string Message
        {
            get { return "The license format is invalid. The license could not be verified."; }
        }
    }
}